//
// Created by whg on 2025-06-01.
//

#include "codeObject.hpp"

CodeObject::CodeObject(int argCount, int posArgCount, int keyArgCount, int nLocals, int stackSize, int flags,
                       PyString* byteCodes, PyList* consts, PyList* names, PyList* varNames, PyList* freeVars,
                       PyList* cellVars, PyString* fileName, PyString* moduleName, int lineno, PyString* notable)
        : _argCount(argCount), _posArgCount(posArgCount), _keyArgCount(keyArgCount), _nLocals(nLocals),
          _stackSize(stackSize), _flags(flags), _byteCodes(byteCodes), _consts(consts), _names(names),
          _varNames(varNames), _freeVars(freeVars), _cellVars(cellVars), _fileName(fileName), _moduleName(moduleName),
          _lineno(lineno), _notable(notable) {

}
